package com.fh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "house_money_arrange")
public class MoneyArrange implements Serializable {
    @TableId(value = "arrange_id", type = IdType.AUTO)
    private Integer arrangeId;//资金管理
    private Integer  userId;//用户id
    private String  arrangeRecord;//资金记录
    private Integer rechargeArrangeId;//充值记录id
    private Integer proposeArrangeId;//提现记录id
    private Integer platformId;//收支记录id
    private Integer isDel;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createDate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date updateDate;
//加个注释试试

}
